package com.projectdemo.springbootdemo1.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

@Data //get set
@AllArgsConstructor //有参构造
@NoArgsConstructor //无参构造
public class Department {
    @Id
    private Integer id;
    private String departmentName;
}